package com.leng.nacos.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leng.nacos.domain.LUser;
import com.leng.nacos.mapper.UserMapper;
import com.leng.nacos.service.IUserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, LUser> implements IUserService  {
    @Override
    public LUser getThisOne(String a) {
        LambdaQueryWrapper<LUser> lwq = Wrappers.lambdaQuery();
        lwq.eq(LUser::getUno,a);
        return getOne(lwq);
    }
}
